package com.jianbo.proxy.api;

import org.smartboot.http.server.HttpRequest;

import com.jianbo.proxy.entity.HttpResponseMiddle;

public abstract class Api {
    
    public abstract String apiName();

    public String method() {
        return "GET";
    }

    public abstract boolean execute(HttpRequest request, HttpResponseMiddle response) throws Exception;
}
